package com.hihonor.game.service.impl;


import com.hihonor.game.dao.UserMapper;
import com.hihonor.game.model.User;
import com.hihonor.game.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @fileName: UserServiceImpl
 * @author: LmR
 * @createDate: 2023/12/9 22:16
 * @Desc:
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public void save(User user) {
        userMapper.insert(user);
    }
}
